<div class="button-item">
    <button pButton type="text" class="ui-button-success" icon="fa fa-check" label="保存" (click)="saveUpdate()"></button>
    <button pButton type="text" class="ui-button-danger" icon="fa fa-times" label="删除" (click)="delete()"></button>
</div>
<div class="ui-g ui-g-12">
    <form [formGroup]="procForm">
        <div class="ui-g ui-g-10">
            <div class="ui-g-12">
                <div class="ui-g-2">流程名称
                    <span style="color:red;">*</span>
                </div>
                <div class="ui-g-10">
                    <input pInputText type="text" formControlName="procDefName" style="width:100%" />
                </div>
            </div>
            <div class="ui-g-6">
                <div class="ui-g-4">标识</div>
                <div class="ui-g-8">
                    <input pInputText type="text" formControlName="procDefId" style="width:100%" readonly/>
                </div>
            </div>
            <div class="ui-g-6">
                <div class="ui-g-4">业务名称</div>
                <div class="ui-g-8">
                    <input type="hidden" formControlName="bizId" />
                    <input pInputText type="text" formControlName="bizName" style="width:100%" readonly/>
                </div>
            </div>
            <div class="ui-g-6">
                <div class="ui-g-4">计时策略</div>
                <div class="ui-g-8">
                    <p-dropdown formControlName="timeStrategy" [options]="timeStrategyArray" placeholder="计时策略" [style]="{'width':'100%'}"></p-dropdown>
                </div>
            </div>
            <div class="ui-g-6">
                <div class="ui-g-4">计时单位</div>
                <div class="ui-g-8">
                    <input type="hidden" formControlName="timeUnitName"/>
                    <p-dropdown formControlName="timeUnitId" [options]="timeUnitArray" placeholder="计时单位" [style]="{'width':'100%'}"></p-dropdown>
                </div>
            </div>
            <div class="ui-g-6">
                <div class="ui-g-4">警告时限</div>
                <div class="ui-g-8">
                    <input pInputText type="text" formControlName="timeWarn" style="width:100%" />
                </div>
            </div>
            <div class="ui-g-6">
                <div class="ui-g-4">截止时限</div>
                <div class="ui-g-8">
                    <input pInputText type="text" formControlName="timeLimit" style="width:100%" />
                </div>
            </div>
            <div class="ui-g-6">
                <div class="ui-g-4">创建时间</div>
                <div class="ui-g-8">
                    <input pInputText type="text" formControlName="createTime" style="width:100%" readonly/>
                </div>
            </div>
            <div class="ui-g-6">
                <div class="ui-g-4">创建人</div>
                <div class="ui-g-8">
                    <input pInputText type="text" formControlName="createUser" style="width:100%" readonly/>
                </div>
            </div>
            <div class="ui-g-12">
                <div class="ui-g-2">功能描述</div>
                <div class="ui-g-10">
                    <textarea pInputTextarea formControlName="procDesc" style="width:100%" rows="5"></textarea>
                </div>
            </div>
        </div>
    </form>
</div>